﻿using System.Collections.Generic;
using Volo.Abp.Domain.Entities;

namespace CommonManagement
{
    /// <summary>
    /// 新闻分类类
    /// </summary>
    public class Category : Entity<int>
    {
        /// <summary>应用类型</summary>
        public string AppType { get; protected set; }

        /// <summary>名称</summary>
        public string Name { get; protected set; }

        /// <summary>分类序号</summary>
        public int Sort { get; protected set; }

        /// <summary>新闻集合</summary>
        public IList<Press> Presses { get; protected set; }

        private Category() { }
    }
}